{template paome_header}
<link rel="stylesheet" href="static/calendar/js/calendar.css" />
<script type="text/javascript" charset="utf-8" src="static/calendar/calendar.php"></script>

<link rel="stylesheet" href="/static/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="/static/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="/static/kindeditor/lang/zh_CN.js"></script>

<style type="text/css">
    .bg{display:none;position:fixed;width:100%;height:100%;background:#000;z-index:2;top:0;left:0;opacity:0.7;}
</style>
<h4 style="padding-left:10px;;">
    <a href="?c=paome_club&a=getClubList&paomeId={$paomeId}"><span>俱乐部列表</span></a>
    >>
    <span>俱乐部详情</span>
</h4>

<form class="form-horizontal"   id="tr_form">
    <div class="control-group">
        <label class="control-label" >俱乐部标题：</label>
        <div class="controls">
            {if isset($info['title'])}{$info['title']}{/if}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" >  缩略图：</label>
        <div class="controls" id="showImage">
            {if isset($info['image'])}
            <span style="margin: 10px  10px 10px 10px">
             <img src="{$info['image']}" style="width: 100px;height: 100px;">
             <input type="hidden" name="image[]" value="{$info['image']}" />
            </span>
            {/if}
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" >成员数：</label>
        <div class="controls">
            {if isset($info['user_num'])}{$info['user_num']}{/if}人
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" >状态：</label>
        <div class="controls">
            {if isset($info['statusMsg'])}{$info['statusMsg']}{/if} </div>
    </div>

    <div class="control-group">
        <label class="control-label" >创建时间：</label>
        <div class="controls">
            {if isset($info['formatTime'])}{$info['formatTime']}{/if} </div>
    </div>

    <div class="control-group">
        <label class="control-label" >截止赛事阶段：</label>
        <div class="controls">
            {if isset($info['typeMsg'])}{$info['typeMsg']}{/if} </div>
    </div>

    <div class="control-group">
        <label class="control-label" >当前竞赛状态：</label>
        <div class="controls">
            {if isset($info['typeStatusMsg'])}{$info['typeStatusMsg']}{/if} </div>
    </div>


    <div class="control-group">
        <label class="control-label" >赛季记录：</label>
        <div class="controls">
            {if count($arrGameLog) > 0}
                {loop $arrGameLog $k $v}
                <span>{$v['headMsg']}</span><br />
                    {loop $v['list'] $k1 $v1}
                        &nbsp;&nbsp;&nbsp;&nbsp;<span>{$v1['childMsg']}</span><br />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <span>
                                {if $v1['type'] == 1}
                                    总跑量： {$v1['rankValue']}
                                {elseif $v1['type'] == 2}
                                    配速：{$v1['rankValue']}
                                {elseif $v1['type'] == 3}
                                    人气：{$v1['rankValue']}
                                {/if}

                            </span>
                            {if $v1['rank'] > 0}
                                <span>排名：$v1['rank']/$v1['num']</span>
                            {else}
                                <span>排名：--</span>
                            {/if}
                           <br />
                    {/loop}
                {/loop}
            {/if}
        </div>
    </div>

    <table style="width: 100%;" border="0" id="table">
        <thead>
        <tr>
            <th>用户UID</th>
            <th>昵称</th>
            <th>头像</th>
            <th>级别</th>
            <th>状态</th>
            <th>加入时间</th>
        </tr>
        </thead>

         <tbody>
         {if count($arrMemeber)>0}
            {loop $arrMemeber $k $v}
                <tr>
                    <td align="center">{$v['uid']}</td>
                    <td align="center">{$v['nickname']}</td>
                    <td align="center"><img src="{$v['header']}" style="width: 50px;height: 50px;" /></td>
                    <td align="center">{$v['levelMsg']}</td>
                    <td align="center">{$v['statusMsg']}</td>
                    <td align="center">{$v['formatTime']}</td>
                </tr>
            {/loop}
         {/if}
         </tbody>

    </table>

</form>
{template footer}
